<template>
	<view class="sportpage">
		<view class="topbox">
			<image src="/static/image/群组 45 Copy 1@1x.png" mode=""></image>
			<view class="week">
				第一周 第四天
			</view>
			<view class="title">
				第一阶段
			</view>
		</view>
		<view class="labelbox">
			<view class="itemlabel">
				<view class="labeltop">
					<view class="num">
						5
					</view>
					<view class="danwei">
						分钟
					</view>
				</view>
				<view class="label">
					时间
				</view>
			</view>
			<view class="itemlabel">
				<view class="labeltop">
					<view class="num">
						L1
					</view>
					<view class="danwei">
						基础
					</view>
				</view>
				<view class="label">
				等级
				</view>
			</view>
			<view class="itemlabel">
				<view class="labeltop">
					<view class="num">
						61
					</view>
					<view class="danwei">
					千卡
					</view>
				</view>
				<view class="label">
					卡路里
				</view>
			</view>
		</view>
		<view class="line">
			<view class="name">
				训练器械
			</view>
			<view class="label">
				无器械
			</view>
		</view>
		<view class="line">
			<view class="name">
				智能装备
			</view>
			<view class="label">
				运动手环
			</view>
		</view>
		<view class="pagebtn">
			开始运动
		</view>
		<view class="pagebt">
			测量心率
		</view>
		<view class="pagelist">
			<view class="listtitle">
				<view class="title">
					动作概览
				</view>
				<view class="line1"></view>
			</view>
			<view class="listbox">
				<view class="itemlist">
					<view class="imgbox">
						<image src="/static/image/群组 45 Copy 1@1x.png" mode=""></image>
					</view>
					<view class="iteminfo">
						<view class="name">
							髋关节活动
						</view>
						<view class="time">
							00:30
						</view>
					</view>
				</view>
				<view class="itemlist">
					<view class="imgbox">
						<image src="/static/image/群组 45 Copy 1@1x.png" mode=""></image>
					</view>
					<view class="iteminfo">
						<view class="name">
							髋关节活动
						</view>
						<view class="time">
							00:30
						</view>
					</view>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			}
		},
		methods: {
			
		}
	}
</script>

<style lang="less" scoped>
.sportpage{
	width: 750rpx;
	box-sizing: border-box;
	background: linear-gradient(180deg, rgba(242,248,255,1) 0%,rgba(255,255,255,0) 76%);
	.topbox{
		width:100%;
		height: 300rpx;
		position: relative;
		image{
			width: 100%;
			height: 100%;
		}
		.week{
			width: 220rpx;
			color: white;
			position: absolute;
			left: 0;
			bottom: 0;
			height: 60rpx;
			line-height: 60rpx;
			text-align: center;
			font-size: 30rpx;
			font-weight: bold;
			background-color: rgba(53,53,53,0.33);
		}
		.title{
			background-color: rgba(243,232,253,0.68);
			color:#1a4f8a;
			width: 200rpx;
			height: 60rpx;
			line-height: 60rpx;
			font-size: 30rpx;
			text-align: center;
			border-bottom-left-radius: 20rpx;
			position: absolute;
			right: 0;
			top: 0;
		}
	}
	.labelbox{
		width: 100%;
		height: 150rpx;
		background: white;
		display: flex;
		align-items: center;
		justify-content: space-evenly;
		box-sizing: border-box;
		padding: 20rpx 10rpx;
		margin-bottom: 20rpx;
		.itemlabel{
			text-align: center;
			.labeltop{
				display: flex;
				align-items: center;
				justify-content: center;
				.num{
					font-size: 38rpx;
					font-weight: bold;
				}
				.danwei{
					font-size: 30rpx;
				}
			}
			.label{
				font-size: 30rpx;
				margin-top: 6rpx;
				color: #BFBFBF;
			}
			
		}
	}
	.line{
		width: 100%;
		background-color: white;
		box-sizing: border-box;
		padding: 30rpx 30rpx;
		margin: 20rpx 0;
		display: flex;
		align-items: center;
		justify-content: space-between;
		.name{
			font-weight: bold;
			color: #3A3A3A;
		}
		.label{
			color:#1a4f8a ;
			font-weight: bold;
		}
	}
	.pagebtn{
		width: 90%;
		height: 100rpx;
		margin: auto;
		border-radius: 30rpx;
		margin-top: 40rpx;
		text-align: center;
		line-height: 100rpx;
		color: white;
		font-size: 34rpx;
		font-weight: bold;
		background-color: #1a4f8a;
	}
	.pagebt{
		width: 90%;
		height: 100rpx;
		margin: auto;
		border-radius: 30rpx;
		margin-top: 20rpx;
		text-align: center;
		line-height: 100rpx;
		color: white;
		font-size: 34rpx;
		font-weight: bold;
		background-color: #D6D6D6;
	}
	.pagelist{
		width: 100%;
		background-color: white;
		box-sizing: border-box;
		padding: 40rpx 20rpx;
		.listtitle{
			display: flex;
			align-items: center;
			height: 32rpx;
			line-height: 32rpx;
			position: relative;
			margin: 50rpx 30rpx;
			.title{
				font-weight: bold;
			}
			.line1{
				width: 60rpx;
				height: 8rpx;
				position: absolute;
				border-radius: 4rpx;
					background-color:#1a4f8a;
					left: 0;
					bottom: -3rpx;
			}
		}
		.listbox{
			width: 100%;
			padding-bottom: 50rpx;
			.itemlist{
				width: 100%;
				display: flex;
				align-items: center;
				margin-top: 30rpx;
				.imgbox{
					width: 160rpx;
					height: 160rpx;
					border-radius: 20rpx;
					margin-right: 30rpx;
					image{
						width: 100%;
						height: 100%;
						border-radius: 20rpx;
					}
				}
				.iteminfo{
					line-height: 75rpx;
					.name{
						font-weight: bold;
						color: #3A3A3A ;
					}
					.time{
						font-weight: bold;
						color: #ABABAB;
					}
				}
			}
		}
	}
}
</style>
